<?php
Route::group(['namespace'=>'Order'],function(){
    //基本路由
    Route::any('orderList','OrderController@orderList')->name('admin.order.orderlist')->middleware('access.routeNeedsPermission:order-index');
    Route::get('orderSearch', 'OrderController@search')->name('admin.order.search')->middleware('access.routeNeedsPermission:order-index');
    Route::post('orderUpdate','OrderController@updateOrder')->name('admin.order.orderupdate')->middleware('access.routeNeedsPermission:order-update');
    Route::post('orderDel','OrderController@delOrder')->name('admin.order.orderdel')->middleware('access.routeNeedsPermission:order-delete');
    //恢复、物理删除
    Route::post('orderRestore','OrderController@restoreOrder')->name('admin.order.orderrestore')->middleware('access.routeNeedsPermission:order-restore');
    Route::post('orderForceDel','OrderController@forceDelOrder')->name('admin.order.orderforcedel')->middleware('access.routeNeedsPermission:order-forcedel');
});